﻿#region zh-CHS 2006 - 2007 DemoSoft 团队 | en 2006 - 2007 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the G.O.S.E(Game Online Server Engine) for .NET.
//
//                 2006-2007 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System;
#endregion

namespace Demo_G.O.S.E.ServerEngine.Network
{
    #region zh-CHS 枚举 | en Enum
    /// <summary>
    /// 登陆返回的错误
    /// </summary>
    public enum LoginReason : byte
    {
        /// <summary>
        /// 帐号有效
        /// </summary>
        Finish = 0x00,
        /// <summary>
        /// 普通的错误
        /// </summary>
        GeneralError = 1,
        /// <summary>
        /// 错误的名字
        /// </summary>
        NameError = 2,
        /// <summary>
        /// 错误的密码
        /// </summary>
        PasswordError = 3,
        /// <summary>
        /// 帐号已在使用
        /// </summary>
        InUse = 4,
        /// <summary>
        /// 帐号已禁止
        /// </summary>
        Blocked = 5,
        /// <summary>
        /// 帐号已到期
        /// </summary>
        TopUpAccount = 6,
        /// <summary>
        /// 连接服务器错误
        /// </summary>
        ServerError = 7,
        /// <summary>
        /// 服务器容量已满
        /// </summary>
        ServerCapacityFull = 8,
        /// <summary>
        /// 帐号检测无效
        /// </summary>
        AccountInvalid = 9,
        /// <summary>
        /// 登陆失败
        /// </summary>
        LoginFailed = 10,
        /// <summary>
        /// IP容量已满
        /// </summary>
        IPCapacityFull = 11,
        /// <summary>
        /// 空闲
        /// </summary>
        Idle = 0xFE,
        /// <summary>
        /// 错误的命令
        /// </summary>
        BadCommand = 0xFF
    }
    #endregion
}
#endregion

